<?php
class stFacebookLike2_model extends stmodel_2_1{

    public function __construct($config) {
        global $current_user;
        parent::__construct ( $config );
        $this->setTableName('(SELECT * 
FROM `st_likepluginstatistics` WHERE user_id=' . $current_user->ID.'
ORDER BY `id` DESC) l');
        $this->setPrimaryKey('id');
    }



}